import request from "@/utils/request";
//基础设置
const website_set = params => {
  return request({
    url: "/admin/system.Config/website_set",
    method: "post",
    data: params
  });
};

//基础设置修改
const website_set_save = params => {
  return request({
    url: "/admin/system.Config/website_set_save",
    method: "post",
    data: params
  });
};
//协议-列表
const agreement_list = params => {
  return request({
    url: "/admin/system.Config/agreement_list",
    method: "post",
    data: params
  });
};
//协议-详情
const agreement_detail = params => {
  return request({
    url: "/admin/system.Config/agreement_detail",
    method: "post",
    data: params
  });
};
//协议-编辑
const agreement_edit = params => {
  return request({
    url: "/admin/system.Config/agreement_edit",
    method: "post",
    data: params
  });
};

export default {
  website_set,
  website_set_save,
  agreement_list,
  agreement_edit,
  agreement_detail
};
